import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import MyEui from '@/components/MyEui'
import User from '@/components/User'
import Department from '@/components/Department'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/table',
      name: 'MyEui',
      component: MyEui
    },
    {
      path: '/user',
      name: 'User',
      component: User
    },
    {
      path: '/department',
      name: 'Department',
      component: Department
    }
  ]
})
